package com.example.wx.dailyreport.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author hulinbo
 * @since 2020-07-28
 */
public class Dailyreport extends Model<Dailyreport> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户Id
     */
    private String username;

    /**
     * 专业
     */
    private String userClass;


    /**
     * 班主任
     */
    private String classTeacherName;

    /**
     * 任课老师
     */
    private String teacherName;

    /**
     * 日报内容Id
     */
    private Integer dailyId;


    /**
     * 草稿日期
     */
    private LocalDateTime createtime;

    /**
     * 提交日期
     */
    private LocalDateTime submittime;


    /**
     * 日报状态 0：草稿  1：提交  2：已查看
     */
    private Integer status;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserClass() {
        return userClass;
    }

    public void setUserClass(String userClass) {
        this.userClass = userClass;
    }

    public String getClassTeacherName() {
        return classTeacherName;
    }

    public void setClassTeacherName(String classTeacherName) {
        this.classTeacherName = classTeacherName;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Integer getDailyId() {
        return dailyId;
    }

    public void setDailyId(Integer dailyId) {
        this.dailyId = dailyId;
    }

    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    public LocalDateTime getSubmittime() {
        return submittime;
    }

    public void setSubmittime(LocalDateTime submittime) {
        this.submittime = submittime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Dailyreport{" +
                "id=" + id +
                ", username=" + username +
                ", userClass='" + userClass +
                ", classTeacherName='" + classTeacherName +
                ", teacherName='" + teacherName +
                ", dailyId=" + dailyId +
                ", createtime=" + createtime +
                ", submittime=" + submittime +
                ", status=" + status +
                '}';
    }
}
